//
//  Common.h
//  BaseProject
//
//  Created by 喻飞 on 15/5/21.
//  Copyright (c) 2015年 yuf. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "FlipBoardNavigationController.h"
@interface Common : NSObject

#pragma mark  接口传递参数
//
+(NSMutableDictionary *)postBasicReqestArgs:(NSMutableDictionary *)dataDic;
//--------------Navigation传值
//得到
+(FlipBoardNavigationController *) getNavigation;
//设置
+(void) setNavigation:(FlipBoardNavigationController *)navigation;
//--------------Delegate
//得到
+(UIViewController *) getControllerDelegate;
//设置
+(void) setControllerDelegate:(UIViewController *)controllerDelegate;
//-----------------经纬度
//得到
+(NSMutableDictionary *) getLongitude;
//设置
+(void) setLongitude:(NSMutableDictionary *)Longitude;
//-----------------数据暂存
//得到
+(NSMutableDictionary *) getMutableData;
//设置
+(void) setMutableData:(NSMutableDictionary *)mutableData;
//-----------------数据刷新
//得到
+(BOOL) getRefreshStatus;
//设置
+(void) setRefreshStatus:(BOOL)refreshStatus;
//拨打电话
+ (void)callPhone:(NSString*)iphoneNum view:(UIView*)view;
//电话验证
+ (BOOL)isMobileNumber:(NSString *)mobileNum;
//数据非空验证
+ (BOOL)dataIsNULL:(NSString *)data;
#pragma  mark 存储 字典
+(void)SaveDictionaryObject:(NSDictionary *) obj  withKey:(NSString *)key;
+ (id)getSaveDictionaryWithKey:(NSString *)key;
//-------------判断登陆
+(BOOL)getLoginStatus;
//-------------等到登陆用户个人信息
+(NSDictionary *)getLoginInfo;
//删除plist文件
+ (BOOL)DeleteSingleFile;
+ (NSString *)stringFromData:(id)data;
@end
